home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950528-19950726
/
000107_news@columbia.edu_Sat Jun 10 15:34:17 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27065
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 10 Jun 1995 18:12:22 -0400
Received: by apakabar.cc.columbia.edu id AA14517
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 10 Jun 1995 18:12:18 -0400
Path: news.columbia.edu!panix!bloom-beacon.mit.edu!news.kei.com!nntp.et.byu.edu!netline-fddi.jpl.nasa.gov!elroy.jpl.nasa.gov!decwrl!tribune.usask.ca!canopus.cc.umanitoba.ca!uwpg02.uwinnipeg.ca!clark
From: clark@uwpg02.uwinnipeg.ca (Jim Clark)
Newsgroups: comp.protocols.kermit.misc
Subject: Problem with ASK in adapting script to ethernet.
Date: 10 JUN 95 15:34:17 GMT
Organization: University of Winnipeg
Lines: 73
Message-Id: <10JUN95.15341792@uwpg02.uwinnipeg.ca>
Nntp-Posting-Host: uwpg02.uwinnipeg.ca
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Hi
I am revising a Kermit script that worked fine with a serial line for use
on ethernet network. The program, shown below, offers menu of choices and then
performs initial login operations. Problem is that the ASK command used to get
input from user now seems to hang up the program. Has anyone else had this
problem and found a solution? I tried various things, including moving the
TAKE that retrieves the internet addresses after the ASK, but nothing seems to
work. Things seem to work OK if I remark out the problematic line and use
ASSIGN to set the variable (\%v) for the selection. Any suggestions
appreciated (even if I've overlooked something amazingly simple ... which has
never happened before, of course).
Best Wishes
Jim
James M. Clark CLARK@UWPG02.BITNET (note ZERO-TWO)
Department of Psychology CLARK@UWPG02.UWINNIPEG.CA
University of Winnipeg (204) 786-9313
Winnipeg, Manitoba, Canada (204) 786-1824 FAX
R3B 2E9
take c:\net\ipset.ini
; menu
echo ************************************
echo B - Bridge (UofM and UofW libraries)
echo M - Manitoba IBM Mainframe (UofM)
echo U - Unix (UofW IO)
echo V - Vax (UofW)
echo ************************************
echo
;script hangs up at following ASK
;input accepted and assigned to variable but then nothing
;on <Enter>, cursor moves to beginning of input prompt
;any additional characters typed overtype prompt
;next return ends up at Kermit prompt
;everything works OK if ASSIGN used for fixed value of \%v
ask \%v Type letter of choice, then <Enter>?\32
; choose subroutine
if equal \%v b goto bridge
if equal \%v m goto uman
if equal \%v u goto io
if equal \%v v goto vax
stop ; end script if no match
:bridge ; Bridge / UofM Library logon
SET PORT TCP umopac.umanitoba.ca
connect
input UML=>
output set lib uow\13
goto end
:uman ; UofM Mainframe logon
SET PORT TCP ccm.umanitoba.ca
connect
goto end
:io ; IO Unix option
SET PORT TCP io.uwinnipeg.ca
connect
goto end
:vax ; Vax option
SET PORT TCP uwpg02.uwinnipeg.ca
connect
goto end
:end